package ooday02_homework;

public class AnimalTest {
    public static void main(String[] args) {
        Animal animal = new Animal( "小花", 2, "黑");
        animal.eat();
        animal.drink();
        System.out.println("=========================");

        Dog dog = new Dog( "小黑", 3, "白");
        dog.eat();
        dog.drink();
        dog.lookHome();
        System.out.println("=========================");

        Fish fish = new Fish("泡泡", 1, "金");
        fish.eat();
        fish.drink();
        System.out.println("=========================");

        Chick chick = new Chick("小kun",2,"黑白灰");
        chick.eat();
        chick.drink();
        chick.layEggs();


    }
}
